import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter)


// 注册路由表
import publicRouter from './modules/public'
import noticeRouter from './modules/notice'
import testRouter from './modules/test'



const router = new VueRouter({
    mode: 'history', // hash带一个#，history
    routes: [...publicRouter, ...noticeRouter, ...testRouter]
})

export default router

